package com.cloud.salon.client.business.repository;

import com.cloud.salon.common.base.entity.business.relation.RecordItem;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.transaction.annotation.Transactional;

/**
 * @Description 记录和项目关联仓库
 * @Author wolf--LZH
 * @CreateDate 2019/5/3 0003 下午 3:45
 */
public interface RecordItemRepository extends JpaRepository<RecordItem, Integer> {

    @Transactional
    void deleteByRecordIdAndItemId(Integer recordId, Integer itemId);
}
